package com.bjx.flow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bjx.flow.domain.query.FlowGroupQuery;
import com.bjx.flow.domain.vo.FlowGroupVO;

import java.util.List;

/**
 * @desc: 流程分组服务接口
 * @author: liushuai
 * @date: 2022/10/24
 */
public interface IFlowGroupService {


    /**
     * 分页查询流程分组列表
     * @param flowGroupQuery
     * @return: IPage<FlowGroupVO>
     * @Author: liushuai
     * @Date: 2022/10/24
     */
    IPage<FlowGroupVO> listFlowGroupPage(FlowGroupQuery flowGroupQuery);

    /**
     * 新增流程分组
     * @param flowGroupVO
     * @Author: liushuai
     * @Date: 2022/10/24
     */
    void insertFlowGroup(FlowGroupVO flowGroupVO);
    /**
     * 修改流程分组
     * @param flowGroupVO
     * @Author: liushuai
     * @Date: 2022/10/24
     */
    void updateFlowGroup(FlowGroupVO flowGroupVO);
    /**
     * 根据流程分组id删除流程分组
     * @param groupId
     * @return: R
     * @Author: liushuai
     * @Date:  2022/10/24
     */
    void deleteFlowGroupByGroupId(Long groupId);
    /**
     * 根据流程分组id查询流程分组
     * @param groupId
     * @return: R<FlowGroupVO>
     * @Author: liushuai
     * @Date: 2022/10/24
     */
    FlowGroupVO selectFlowGroupByGroupId(Long groupId);

    /**
     * 获取所有流程分组
     * @param
     * @return: java.util.List<com.bjx.flow.domain.vo.FlowGroupVO>
     * @Author: liushuai
     * @Date: 2022/10/25 10:01
     */
    List<FlowGroupVO> listFlowGroupAll();
}
